package com.east.sng.service;

import com.east.sng.entity.param.TeacherParam;
import com.east.sng.entity.result.TeacherFind;
import com.east.sng.entity.result.TeacherInfo;

import java.util.List;
import java.util.Map;

/**
 * @author east
 * @date: 2021/12/30
 * @Description:
 **/
public interface TeacherService {

    List<TeacherInfo> findTeachers(Map<String, Object> params);
    TeacherFind findTeacher(Integer teacherId);
    List<Map<String, Object>> findTeachersColumns(Integer courseTypeId);

    void addTeacher(TeacherParam teacherParam);
    void editTeacher(TeacherParam teacherParam);
    boolean removeTeacher(Integer teacherId);
    boolean batchRemoveTeachers(List<Integer> teacherIds);
    boolean recoverTeacher(Integer teacherId);
    boolean batchRecoverTeachers(List<Integer> teacherIds);

}
